package com.oa.modules.approvalsec1.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oa.common.utils.PageUtils;
import com.oa.modules.approvalsec1.entity.LicenceEntity;
import com.oa.modules.approvalsec1.entity.StatuteInfoEntity;
import com.oa.modules.approvalsec1.entity.StatuteLibraryEntity;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 政策法规库
 *
 * @author jimboo
 * @email jimboo7339@163.com
 * @date 2022-08-15 15:19:48
 */
public interface StatuteLibraryService extends IService<StatuteLibraryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<StatuteLibraryEntity> getTree();

    List<StatuteLibraryEntity> getTextByIds(Integer[] ids);

    List<StatuteLibraryEntity> selectTree();

    List<StatuteLibraryEntity> getChildrenByName(String name);

    List<StatuteLibraryEntity> getChildrenByName2(String name);

    StatuteLibraryEntity getInfoById(Integer id);

    void insertRecord(Integer[] ids);

    List<Map> getDataByCategory();

    List<LinkedHashMap> getDataByMonth();

    List<Map> getDataViews();

    void insertInfo(StatuteInfoEntity statuteinfo);

    List<Map> getStatuteInfoTotal(Map<String, Object> params);

    List<StatuteInfoEntity> getStatuteInfoList(Map<String, Object> params);

    List<StatuteInfoEntity> selectStatuteInfo(StatuteInfoEntity statuteinfo);
}

